import request from '@/utils/https'

//获取代理商用户信息
export const getUsernameInfo = params => request('get','api/after/getUsernameInfo',params)

//获取账号常用联系人
export const getCommonUser = params => request('get','api/after/getCommonUser',params)

//获取客户售后信息
export const queryCustomerAfterSales = params => request('get','api/after/queryCustomerAfterSales',params)

//sn码获取产品型号
export const snGetProductModel = params => request('get','api/after/snGetProductModel',params)

//售后申请
export const addAfterSales = params => request('post','api/after/addAfterSales',params)

//获取管理售后信息
export const queryAdminAfterSales = params => request('get','api/after/queryAdminAfterSales',params)

//编号获取待受理售后信息
export const queryIdAdminAfterSales = params => request('get','api/after/queryIdAdminAfterSales',params)

//修改受理售后信息
export const acceptAfterSales = params => request('post','api/after/acceptAfterSales',params)

//获取返回订单号
export const queryReturnAfterSales = params => request('get','api/after/queryReturnAfterSales',params)

//修改售后返还信息
export const returnAfterSales = params => request('post','api/after/returnAfterSales',params)

//修改快递或者快递单号
export const updateExpress = params => request('post','api/after/updateExpress',params)

//售后导出
export const exportAfterSales = params => request('post','api/after/exportAfterSales',params)